package com.AEWMS.Test;

import com.AEWMS.Dao.Course;
import com.AEWMS.Dao.CourseScore;
import com.AEWMS.Service.CourseService;
import com.alibaba.fastjson.JSON;

public class CourseTest {
    public static void main(String[] args) {
        CourseService cs = new CourseService();
//        System.out.println(JSON.toJSONString(cs.findAllCourse()));
//        System.out.println(JSON.toJSONString(cs.findCourseById("1")));
////        System.out.println(JSON.toJSONString(cs.deleteCourseById("1")));
//        Course c = new Course();
//        c.setCourseType("必修课");
//        c.setCourseCredit("3");
//        c.setCourseId("1");
//        c.setCourseName("数据结构");
//        System.out.println(JSON.toJSONString(cs.updateCourse(c)));
    }
}
